//-----------------------------------------------------------------------------
#include "ht32.h"
#include "GPIO.h"
#include "EXTI.h"
#include "SCTM0.h"
#include "SCTM1.h"
#include "GPTM0.h"
#include "GPTM1.h"


//-----------------------------------------------------------------------------
int main(void)
{
  GPIO_Configuration();
  EXTI_Configuration();
  SCTM0_Configuration();
  SCTM1_Configuration();
  GPTM0_Configuration();
  GPTM1_Configuration();

  while (1)
  {
    GPIO_WriteOutBits(OUT_PC14_GPIO_PORT, OUT_PC14_GPIO_PIN, SET);
    delay_ms(1);
    GPIO_WriteOutBits(OUT_PC14_GPIO_PORT, OUT_PC14_GPIO_PIN, RESET);
    delay_ms(1);
  }
}
